package cn.czg.cms.service;

import cn.czg.cms.entity.dto.CommentDTO;
import cn.czg.cms.entity.dto.SimpleCom;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface CommentService {
    void addComment(Long postId, Long parentId, Long userId, String content);

    List<CommentDTO> getCommentsWithReplies(Long postId, int page, int size);

    IPage<SimpleCom> simpleCom(Long postId, int pageNo, int size);
}
